package com.qdu.bussiness.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.qdu.common.annotation.Excel;
import com.qdu.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 账单信息对象 bus_bill
 * 
 * @author qdu
 * @date 2022-03-09
 */
public class BusBill extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long billId;

    /** 账单人 */
    @Excel(name = "账单人")
    private String billUserName;

    /** 账单创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "账单创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date billCreateTime;

    /** 账单状态 */
    @Excel(name = "账单状态")
    private String billStatus;

    /** 账单是否结算 */
    @Excel(name = "账单是否结算")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long billIsPaid;

    public void setBillId(Long billId) 
    {
        this.billId = billId;
    }

    public Long getBillId() 
    {
        return billId;
    }
    public void setBillUserName(String billUserName) 
    {
        this.billUserName = billUserName;
    }

    public String getBillUserName() 
    {
        return billUserName;
    }
    public void setBillCreateTime(Date billCreateTime) 
    {
        this.billCreateTime = billCreateTime;
    }

    public Date getBillCreateTime() 
    {
        return billCreateTime;
    }
    public void setBillStatus(String billStatus) 
    {
        this.billStatus = billStatus;
    }

    public String getBillStatus() 
    {
        return billStatus;
    }
    public void setBillIsPaid(Long billIsPaid) 
    {
        this.billIsPaid = billIsPaid;
    }

    public Long getBillIsPaid() 
    {
        return billIsPaid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("billId", getBillId())
            .append("billUserName", getBillUserName())
            .append("billCreateTime", getBillCreateTime())
            .append("billStatus", getBillStatus())
            .append("billIsPaid", getBillIsPaid())
            .toString();
    }
}
